home *** CD-ROM | disk | FTP | other *** search
- XCOPY
- Copies groups of files. Subdirectories can be included
- See also <COPY> <VERIFY> <DISKCOPY>
-
- XCOPY copies groups of files based on various switches. It can copy
- entire subdirectory trees and is much more powerful than COPY.
-
- COMMAND TYPE: External VERSION: 3.2 and up
-
- USE: XCOPY [d:][path]filename1 [d:][path][filename2] [/A][/D][/E]
- [/M][/P][/S][/V][/W]
- or XCOPY [d:] path [filename1] [d:][path][filename2] [/A][/D][/E]
- [/M][/P][/S][/V][/W]
- or XCOPY d:[path] [filename1] [d:][path][filename2] [/A][/D][/E]
- [/M][/P][/S][/V][/W]
-
- d: path filename1 specifies the source drive, path, and filename.
- d: path filename2 specifies the destination drive, path, and filename.
- /A copies only those files that have been modified since the last
- BACKUP /M or XCOPY /M.
- /D copies files whose date is equal to or later than the date
- specified. If you wish to specify a date, the format is
- /D:mm-dd-yy or whatever date format you may have selected using
- the <COUNTRY> or <SELECT> commands.
- /E causes XCOPY to create subdirectories on the destination drive
- as it copies.
- /M copies only those files that have been modified since the last
- BACKUP /M or XCOPY /M. The /M option is identical to the /A
- option except XCOPY /M will reset the flags on those files that
- have been modified since the last backup.
- /P causes XCOPY to prompt you before copying each file.
- /S causes XCOPY to copy files in any subdirectories below the
- directory that XCOPY starts in.
- /V causes XCOPY to <VERIFY> that the data recorded was recorded
- correctly.
- /W causes XCOPY to wait for you to insert a disk before beginning.
-
- EXAMPLE: XCOPY C:\ D:\ /S
- will copy all files in all directories from drive C: to drive D:.
-